<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><b><font color="{$alert.color}">{$alert.str}</font></b>


<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>添加兴趣点</title>

<style type="text/css">
h1{ text-align:center;font-family: "Microsoft YaHei";font-size: 33px; }
form{ padding:0;margin:0; }
table { background: #CCCCCC; font:15px arial,simsun; }
th { background: #E3E3E3; height: 30px; }
td { background: #FFF; }
input { margin:2px; }
</style>

<h1>添加兴趣点</h1>

<table width="100%" cellspacing="1" cellpadding="2" border="0" align="center">
	<tbody><tr>
		<td>
			<form action="{url('roadbook/point')}" method="POST">
				<b>兴趣点ID：</b><input type="text" value="" name="data[point_id]"><br>
				<b>排序：</b><input type="text" value="" name="data[order]"><br>
				<input type="hidden" value="{$roadbook_id}" name="roadbook_id">
				<br><input type="submit" value=" 确定 " name="ok">
			</form>
		</td>
	</tr>
</tbody></table>

<table width="100%" cellspacing="1" cellpadding="2" border="0" align="center">
	<tbody><tr>
		<th>ID</th>
		<th>排序</th>
		<th>兴趣点ID</th>
		<th>名称</th>
		<th>纬度</th>
		<th>经度</th>
		<th>简介</th>
		<th>小贴士</th>
		<th>电话</th>
		<th>地址</th>
		<th>邮编</th>
		<th>操作</th>
	</tr>
{if isset($point)}	
	 {foreach from=$point item=val key=k}
      <tr>
	   <td  nowrap="nowrap" align="center"><div align="center"><span class="STYLE19">{$roadbook_id}</span></div></td>
	    <td  nowrap="nowrap" align="center"><div align="center"><span class="STYLE19">{$val['order']}</span></div></td>
        <td  nowrap="nowrap" align="center"><div align="center"><span class="STYLE19">{$val['point_id']}</span></div></td>
        <td  nowrap="nowrap" align="center"><div align="center">{$val['name']}</div></td>
        <td  nowrap="nowrap" align="center"><div align="center">{$val['latitude']}</div></td>
        <td  nowrap="nowrap" align="center"><div align="center">{$val['longitude']}</div></td>
        <td nowrap="nowrap" align="center"><div align="center">{cutstr($val['introduction'],18)}</div></td>
		 <td nowrap="nowrap" align="center"><div align="center">{$val['suggestions']}</div></td>
        <td nowrap="nowrap" align="center"><div align="center">{$val['phone']}</div></td>
        <td nowrap="nowrap" align="center"><div align="center">{$val['address']}</div></td>
        <td nowrap="nowrap" align="center"><div align="center">{$val['post_code']}</div></td>
        <td height="20" bgcolor="#FFFFFF"><div align="center" class="STYLE21">{assign var=foo value=['point_id'=>$val['point_id']]}<a href={url('pic/point',$foo)} target="_blank">图片</a> |{assign var=foo1 value=['point_id'=>$val['point_id'],'roadbook_id'=>$roadbook_id]}<a href={url('roadbook_point/del',$foo1)}>删除</a> | <a href="{url('roadbook_point/modify',$foo1)}" target="_blank">排序</a></div></td>
      </tr>
     {/foreach}
{/if}					
	<tr>
		<td colspan="13"></td>
	</tr>
</tbody></table>

<iframe hidden="" id="del" name="del" src=""></iframe> 
<script>
	document.getElementById("del").src=""

	function onDel(){
		if (confirm('确定要删除吗？')){
		}else{
			return false;
		}
	}

</script>
</body></html>